import http from "@/util/request";

/**
 * 请求交易情况
 * @returns {*}
 */
export function getReportDataApi(type){
    return http(`/acceptance/orderHistory/distributionReport/${type}`,{},true,'GET')
}
/**
 * 佣金排行榜
 * @returns {*}
 */
export function getCommissionRankingApi(){
    return http(`/acceptance/orderHistory/commissionRanking`,{},true,'GET')
}

/**
 * 邀请人员排行榜
 * @returns {*}
 */
export function getInvitationRankingApi(){
    return http(`/acceptance/orderHistory/invitationRanking`,{},true,'GET')
}

/**
 * 已提现
 * @returns {*}
 */
export function getWithdrawalListApi(time){
    return http(`/acceptance/walletHistory/withdrawalList/${time}`,{},true,'GET')
}

/**
 * 交易单量列表
* @returns {*}
*/
export function getTransactionListApi(time){
    return http(`/acceptance/orderHistory/transactionList/${time}`,{},true,'GET')
}
